package com.ruoyi.tcod.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 单子视图对象 tc_img_order
 *
 * @author ruoyi
 * @date 2024-10-20
 */
@Data
@ExcelIgnoreUnannotated
public class TcImgOrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 图片ossId
     */
    private Long ossId;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 分类id
     */
    @ExcelProperty(value = "分类id", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_category")
    private Long categoryId;

    /**
     * 审核状态
     */
    private Integer state;

    @ExcelProperty(value = "审核状态")
    private String stateDesc;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    private String imgUrl;


}
